import { pubRequire } from '@utils/public'
const baseUrl = '/system/app'
// 获取列表
export function getSearchList(params, callBack, errBack) {
  return pubRequire('get', `${baseUrl}`, params, callBack, errBack)
}
// 初始化设置
export function initRequest(callBack, errBack) {
  return pubRequire('post', `${baseUrl}/init`, '', callBack, errBack)
}
// 编辑设置
export function editRequest(params, callBack, errBack) {
  return pubRequire('put', `${baseUrl}`, params, callBack, errBack)
}
